package com.study.model.pojo;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;


/**
 * The persistent class for the sale_order_detail database table.
 * 
 */
@Entity
@Table(name="sale_order_detail")
@NamedQuery(name="SaleOrderDetail.findAll", query="SELECT s FROM SaleOrderDetail s")
public class SaleOrderDetail implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="sod_id")
	private String sodId;

	private double discount;

	@Column(name="pro_id")
	private String proId;

	@Column(name="product_quantity")
	private int productQuantity;

	@Column(name="sales_amount")
	private BigDecimal salesAmount;

	@Column(name="sod_remarks")
	private String sodRemarks;

	@Column(name="war_id")
	private String warId;

	public SaleOrderDetail() {
	}

	public String getSodId() {
		return this.sodId;
	}

	public void setSodId(String sodId) {
		this.sodId = sodId;
	}

	public double getDiscount() {
		return this.discount;
	}

	public void setDiscount(double discount) {
		this.discount = discount;
	}

	public String getProId() {
		return this.proId;
	}

	public void setProId(String proId) {
		this.proId = proId;
	}

	public int getProductQuantity() {
		return this.productQuantity;
	}

	public void setProductQuantity(int productQuantity) {
		this.productQuantity = productQuantity;
	}

	public BigDecimal getSalesAmount() {
		return this.salesAmount;
	}

	public void setSalesAmount(BigDecimal salesAmount) {
		this.salesAmount = salesAmount;
	}

	public String getSodRemarks() {
		return this.sodRemarks;
	}

	public void setSodRemarks(String sodRemarks) {
		this.sodRemarks = sodRemarks;
	}

	public String getWarId() {
		return this.warId;
	}

	public void setWarId(String warId) {
		this.warId = warId;
	}

}